"""
Topshiriqlar yechish.
"""

# 1 - Topshiriq
# Lug\`atni to\`g\`ri taxlash.

CCC = {'yetti' : 7, 'uch' : 3, 'besh' : 5, 'to`qqiz' : 9}
CC = sorted(CCC, key=CCC.get)
print(CC)

CC = sorted(CCC, key=CCC.get, reverse=True)
print(CC)

CC = sorted(CCC, key=CCC.get, reverse=True)[:1]
print(CC)

CC = sorted(CCC, key=CCC.get)[:1]
print(CC)
